package cn.besbing.server.service.primary;

import cn.besbing.model.entities.primary.NcTestAfter;
import cn.besbing.model.entities.primary.NcTestAfterExample;
import cn.besbing.model.mapper.primary.NcTestAfterMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PrimaryNcTestAfterServiceImpl implements NcTestAfterMapper {
    
    @Autowired(required = false)
    NcTestAfterMapper ncTestAfterMapper;
    
    @Override
    public long countByExample(NcTestAfterExample example) {
        return ncTestAfterMapper.countByExample(example);
    }

    @Override
    public int deleteByExample(NcTestAfterExample example) {
        return ncTestAfterMapper.deleteByExample(example);
    }

    @Override
    public int deleteByPrimaryKey(String pkTestAfter) {
        return ncTestAfterMapper.deleteByPrimaryKey(pkTestAfter);
    }

    @Override
    public int insert(NcTestAfter record) {
        return ncTestAfterMapper.insert(record);
    }

    @Override
    public int insertSelective(NcTestAfter record) {
        return ncTestAfterMapper.insertSelective(record);
    }

    @Override
    public List<NcTestAfter> selectByExample(NcTestAfterExample example) {
        return ncTestAfterMapper.selectByExample(example);
    }

    @Override
    public NcTestAfter selectByPrimaryKey(String pkTestAfter) {
        return ncTestAfterMapper.selectByPrimaryKey(pkTestAfter);
    }

    @Override
    public int updateByExampleSelective(NcTestAfter record, NcTestAfterExample example) {
        return ncTestAfterMapper.updateByExampleSelective(record, example);
    }

    @Override
    public int updateByExample(NcTestAfter record, NcTestAfterExample example) {
        return ncTestAfterMapper.updateByExample(record, example);
    }

    @Override
    public int updateByPrimaryKeySelective(NcTestAfter record) {
        return ncTestAfterMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(NcTestAfter record) {
        return ncTestAfterMapper.updateByPrimaryKey(record);
    }
}
